package com.isoft.c2team3service2.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.time.LocalDateTime;

@Data
@NoArgsConstructor
@AllArgsConstructor
@TableName("user_follow")
public class UserFollow {
    @TableId(type = IdType.AUTO)
    private Integer id;
    private Integer followerId;    // 关注者ID
    private Integer followedId;    // 被关注者ID
    private LocalDateTime createTime;  // 关注时间
}